package com.bean;

import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="userBind")
public class UserBind {

	@Id
	private String id;
	private ObjectId mId;
	private String wId;
	private String gender;
	private String mobile;
	private ObjectId lId;
	private String type;
	private Integer age;
	private String name;
	private String createDate;
	public UserBind() {
	}
	
	public UserBind(ObjectId mId, String wId, String gender, String mobile,
			ObjectId lId, String type, Integer age, String name,
			String createDate) {
		super();
		this.mId = mId;
		this.wId = wId;
		this.gender = gender;
		this.mobile = mobile;
		this.lId = lId;
		this.type = type;
		this.age = age;
		this.name = name;
		this.createDate = createDate;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public ObjectId getmId() {
		return mId;
	}
	public void setmId(ObjectId mId) {
		this.mId = mId;
	}
	public String getwId() {
		return wId;
	}
	public void setwId(String wId) {
		this.wId = wId;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public ObjectId getlId() {
		return lId;
	}
	public void setlId(ObjectId lId) {
		this.lId = lId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
}
